.class public Lcom/estrongs/android/pop/utils/u;
.super Ljava/lang/Object;
.source "UserUtils.java"


# direct methods
.method public static a(I)Z
    .locals 9

    .line 3
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/pop/l;->q()J

    move-result-wide v0

    .line 4
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    const/4 v4, 0x1

    cmp-long v5, v2, v0

    if-gtz v5, :cond_0

    return v4

    :cond_0
    cmp-long v5, v2, v0

    if-lez v5, :cond_1

    int-to-long v5, p0

    const-wide/32 v7, 0x36ee80

    mul-long v5, v5, v7

    add-long/2addr v0, v5

    cmp-long p0, v2, v0

    if-gez p0, :cond_1

    goto :goto_0

    :cond_1
    const/4 v4, 0x0

    :goto_0
    return v4
.end method

.method public static a(J)Z
    .locals 5

    .line 1
    invoke-static {}, Lcom/estrongs/android/pop/o;->A0()Lcom/estrongs/android/pop/o;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/pop/o;->t()J

    move-result-wide v0

    const-wide/16 v2, 0x0

    cmp-long v4, v0, v2

    if-lez v4, :cond_0

    .line 2
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    sub-long/2addr v2, v0

    cmp-long v0, v2, p0

    if-gez v0, :cond_0

    const/4 p0, 0x1

    goto :goto_0

    :cond_0
    const/4 p0, 0x0

    :goto_0
    return p0
.end method

.method public static a(Landroid/content/Context;)Z
    .locals 5

    const/4 v0, 0x0

    .line 5
    :try_start_0
    invoke-virtual {p0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v1

    invoke-virtual {p0}, Landroid/content/Context;->getPackageName()Ljava/lang/String;

    move-result-object p0

    invoke-virtual {v1, p0, v0}, Landroid/content/pm/PackageManager;->getPackageInfo(Ljava/lang/String;I)Landroid/content/pm/PackageInfo;

    move-result-object p0

    .line 6
    iget-wide v1, p0, Landroid/content/pm/PackageInfo;->firstInstallTime:J

    iget-wide v3, p0, Landroid/content/pm/PackageInfo;->lastUpdateTime:J
    :try_end_0
    .catch Landroid/content/pm/PackageManager$NameNotFoundException; {:try_start_0 .. :try_end_0} :catch_0

    cmp-long p0, v1, v3

    if-eqz p0, :cond_0

    return v0

    :cond_0
    const/4 p0, 0x1

    return p0

    :catch_0
    return v0
.end method

.method public static b(J)Z
    .locals 0

    .line 1
    invoke-static {p0, p1}, Lcom/estrongs/android/pop/utils/u;->a(J)Z

    move-result p0

    return p0
.end method
